using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityGameFramework.Runtime;
using GameFramework.Procedure;
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;

public class Demo3_ProcedureMenu : ProcedureBase
{
    protected override void OnEnter(ProcedureOwner procedureOwner)
    {
        base.OnEnter(procedureOwner);

        Log.Debug("[Demo3_ProcessMenu] OnEnter");

        //加载架构UI组件
        UIComponent ui = UnityGameFramework.Runtime.GameEntry.GetComponent<UIComponent>();
        ui.OpenUIForm("Assets/GameFrameworkDemo3/Demo3_UIForm.prefab", "DefaultGroup");
    }
}
